<!DOCTYPE html>
<html lang="zh">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>布局练习</title>
</head>
<body>
  <header>
    <ul>
        <li><a href="../01/index.html">第一次练习</a></li>
        <li><a href="../02/css.html">CSS练习</a></li>
      <li><a href="../03/plan.html">布局练习</a></li>    
          <li><a href="../index.html">返回首页</a></li>
    </ul>
  </header>
  <style>
    #head {
        border:1px #CCC solid;
        width:410px;
        height:100px;
        margin-bottom:10px;
    }
    #main {
        border:1px #CCC solid;
        width: 800px;
        height:400px;
        margin-bottom:10px;
        padding:5px;
    }
    #left {
        border:1px #CCC solid;
        width:198px;
        height:198px;
        margin-left: 50px;
        float:left;
    }
    #middle { 
        border:1px #CCC solid;
        width:198px;
        height:198px;
        margin-left: 50px;
        float:left;
    }
    #right {
        border:1px #CCC solid;
        width:193px;
        height:198px;
        margin-left: 50px;
        float:left;
    }
    </style>
    </head>
    <body>
    <div id="head">头部</div>
    <div id="main">
      <div id="left">左侧</div>
      <div id="middle">中间</div>
      <div id="right">右侧</div>
    </div>
    </body>
  <footer>
      <p>学号：P181212226 课程作业</p>
  </footer>
</body>
</html>
